package com.lanou3g.code0411;

/**
 * If there are no bugs, it was created by Chen FengYao on 2018/4/11;
 * Otherwise, I don't know who created it either
 */

public class Main {
    public static void main(String[] args) {
        MyArray myArray = new MyArray();

        String a = "你好";
        String b = "你的名字是";

        myArray.put(a);
        myArray.put(b);
        myArray.put(new Person());

        for(char c = 'A'; c < 'J'; c++){
          //  String s = String.valueOf(c);
            myArray.put(c);
        }


        for (int i = 0; i < myArray.size(); i++) {
            String s = (String) myArray.get(i);
            System.out.println(s);
        }
    }
}
